package me.innolux.daxin_nesting.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/test")
@RestController
@Slf4j
public class Test {

    @PostMapping("/1")
    private String test(@RequestBody String name){
        log.info("请求参数：{}",name);
        return "test";
    }
}
